//
//  AboutViewController.m
//  FKGW
//
//  Created by song ce on 2017/2/18.
//  Copyright © 2017年 song ce. All rights reserved.
//

#import "AboutViewController.h"
#import "UIView+Extend.h"
#import "FeedbackViewController.h"
#import "IntroduceViewController.h"
#import "PtotocolViewController.h"
//#define KImageViewWith 72
//#define KImageViewHeight 72

@interface AboutViewController ()
@property (weak, nonatomic) IBOutlet UILabel *label1;

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    if(!ISNOTNEEDMESSAGEBTN){
        self.isNeedMessageItem = YES;
    }

    self.view.backgroundColor = [UIColor whiteColor];
    NSString *versionString = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
    self.label1.text = [NSString stringWithFormat:@"版本 %@", versionString];
    
    UILabel *copyRightLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, Main_Screen_Height-50, Main_Screen_Width-20, 0)];
    copyRightLabel.numberOfLines = 0;
    copyRightLabel.text = @"Copyright © 2017河北层峰科技有限公司.All Rights Resvered";
    [copyRightLabel sizeToFit];
    copyRightLabel.textColor =  [UIColor colorWithRed:102./255 green:102./255 blue:102./255 alpha:1.];

    copyRightLabel.font = [UIFont systemFontOfSize:11];
    copyRightLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:copyRightLabel];

}

- (IBAction)indtruduce:(UIButton *)sender {
     IntroduceViewController*feedback = [[IntroduceViewController alloc]init];
    [self.navigationController pushViewController:feedback animated:YES];

}

- (IBAction)fankui:(UIButton *)sender {
    FeedbackViewController *feedback = [[FeedbackViewController alloc]init];
    [self.navigationController pushViewController:feedback animated:YES];
}

- (IBAction)tiaokuan:(UIButton *)sender {
    PtotocolViewController *feedback = [[PtotocolViewController alloc]init];
    [self.navigationController pushViewController:feedback animated:YES];

}

@end
